package com.example.a99544.uidemo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.example.a99544.uidemo.R;

import org.w3c.dom.Text;

public class GoalActivity extends BaseActivity implements View.OnClickListener{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_goal);

        TextView title = (TextView)findViewById(R.id.title) ;
        title.setText("选择主题");

        LinearLayout ll5=(LinearLayout) findViewById(R.id.circle_5);
        ll5.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch(v.getId()){
            case R.id.circle_5: Intent intent=new Intent(GoalActivity.this,GoalSpotActivity.class);
                                 startActivity(intent);
                                 break;
        }
    }
}
